package com.testmall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
  * @Description: 
  * @Author: littleDesire
  * @Date: 2022-06-21 14:29
  * @Version: 1.0
  * 
  */
@ApiModel(value="com-testmall-entity-Shopping")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "shopping")
public class Shopping implements Serializable {
    @TableId(value = "shoppingid", type = IdType.INPUT)
    @ApiModelProperty(value="")
    private String shoppingid;

    /**
     * 用户表id
     */
    @TableField(value = "userid")
    @ApiModelProperty(value="用户表id")
    private String userid;

    /**
     * 订单id
     */
    @TableField(value = "orderid")
    @ApiModelProperty(value="订单id")
    private String orderid;

    /**
     * 收货姓名
     */
    @TableField(value = "receivername")
    @ApiModelProperty(value="收货姓名")
    private String receivername;

    /**
     * 收货固定电话
     */
    @TableField(value = "receiverphone")
    @ApiModelProperty(value="收货固定电话")
    private String receiverphone;

    /**
     * 收货移动电话
     */
    @TableField(value = "receivermobile")
    @ApiModelProperty(value="收货移动电话")
    private String receivermobile;

    /**
     * 省份
     */
    @TableField(value = "receiverprovince")
    @ApiModelProperty(value="省份")
    private String receiverprovince;

    /**
     * 城市
     */
    @TableField(value = "receivercity")
    @ApiModelProperty(value="城市")
    private String receivercity;

    /**
     * 区/县
     */
    @TableField(value = "receiverdistrict")
    @ApiModelProperty(value="区/县")
    private String receiverdistrict;

    /**
     * 详细地址
     */
    @TableField(value = "receiveraddress")
    @ApiModelProperty(value="详细地址")
    private String receiveraddress;

    @TableField(value = "createtime")
    @ApiModelProperty(value="")
    private Date createtime;

    @TableField(value = "updatetime")
    @ApiModelProperty(value="")
    private Date updatetime;

    private static final long serialVersionUID = 1L;

    public static final String COL_SHOPPINGID = "shoppingid";

    public static final String COL_USERID = "userid";

    public static final String COL_ORDERID = "orderid";

    public static final String COL_RECEIVERNAME = "receivername";

    public static final String COL_RECEIVERPHONE = "receiverphone";

    public static final String COL_RECEIVERMOBILE = "receivermobile";

    public static final String COL_RECEIVERPROVINCE = "receiverprovince";

    public static final String COL_RECEIVERCITY = "receivercity";

    public static final String COL_RECEIVERDISTRICT = "receiverdistrict";

    public static final String COL_RECEIVERADDRESS = "receiveraddress";

    public static final String COL_CREATETIME = "createtime";

    public static final String COL_UPDATETIME = "updatetime";
}